//
//  AreaViewController.m
//  LiquorChain
//
//  Created by apple on 2018/12/28.
//  Copyright © 2018年 王冬. All rights reserved.
//

#import "AreaViewController.h"

@interface AreaViewController ()

@end

@implementation AreaViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.navigationItem.title = @"区域合作";
    
    UIView *navBarView =[[UIView alloc]initWithFrame:CGRectMake(0, kNavStausHeight, SCREEN_WIDTH, 44)];
    UILabel *titleLabel =[[UILabel alloc]init];
    [navBarView addSubview:titleLabel];
    titleLabel.text = @"区域合作";
    titleLabel.textColor =[UIColor whiteColor];
    titleLabel.textAlignment = NSTextAlignmentCenter;
    
    [self.view addSubview:navBarView];
    self.view.backgroundColor= RGBA(54, 9, 102, 1);
}
/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/
-(void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event{
    [self.navigationController popViewControllerAnimated:YES];
}
@end
